package god.dream.notice.dao;

import god.dream.notice.model.Notice;

import java.util.List;

import org.springframework.dao.DataAccessException;

public interface NoticeDAO {

	int insert(Notice notice) throws DataAccessException;

	int update(Notice notice) throws DataAccessException;

	int delete(int id) throws DataAccessException;

	Notice findNotice(int id) throws DataAccessException;

	List<Notice> findNoticeList() throws DataAccessException;

}
